import { createRouter, createWebHashHistory } from "vue-router";
import type { RouteRecordRaw } from "vue-router";

const routes: RouteRecordRaw[] = [
  {
    path: "/",
    name: "home",
    component: async () => await import("@/views/home/index.vue"),
  },
];

const router = createRouter({
    history:createWebHashHistory(import.meta.env.VITE_BASE_PATH as string),
    routes
})

export default router
